package br.com.sgc.session;

import java.util.List;

import javax.ejb.EJB;
import javax.ejb.Stateless;

import br.com.sgc.dao.AnimalDao;
import br.com.sgc.entities.geral.Cliente;
import br.com.sgc.entities.veterinaria.Animal;

@Stateless
public class AnimalSession extends GenericSession<Animal>{

	private static final long serialVersionUID = -9073787265748844105L;

	@EJB private AnimalDao dao;
	
	public List<Animal> findAllByCliente(Cliente cliente) {
		return dao.findAllByCliente(cliente);
	}

	public List<Animal> findByHospedagem(Cliente cliente) {
		return dao.findByHospedagem(cliente);
	}
	

}
